<page-bar></page-bar>
<div class="d-flex justify-content-between align-items-center mb-sm">
  <div class="d-flex align-items-center">
    <input nz-input [(ngModel)]="params.key" placeholder="根据参数key搜索" />
    <button nz-button nzType="primary" (click)="st.load(1, params)" class="ml-md">搜索</button>
    <button *ngIf="auth_btn_add" (click)="add()" nz-button nzType="default" class="ml-md" type='button'>新增参数</button>
  </div>
  <div>
  </div>
</div>

<st #st [data]="url" [page]="{showSize: true}" [size]="'small'" [columns]="columns"
  [req]="{params: params, reName: { pi: 'current', ps: 'size' }}"
  [res]="{reName: { total: 'data.total', list: 'data.records'}}">
</st>
